package com.neusoft.adminweb.service;

import com.neusoft.adminweb.entity.UmsAdmin;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.util.List;

/**
 * 后台用户表(UmsAdmin)表服务接口
 *
 * @author makejava
 * @since 2020-11-19 19:51:08
 */
public interface UmsAdminService extends BaseService<UmsAdmin> {
    /**
     * 获取用户信息
     */
    UserDetails loadUserByUsername(String username);

    String login(String username, String password);
}